package com.cskaoyan.bean.admin.vo;

import lombok.Data;

import java.util.List;
@Data
public class AdminListVo {

    /**
     * total : 1
     * items : [{"id":1,"username":"admin123","avatar":"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif","roleIds":[1]}]
     */

    private Long total;
    private List<ItemsBean> items;

    @Data
    public static class ItemsBean {
        /**
         * id : 1
         * username : admin123
         * avatar : https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif
         * roleIds : [1]
         */

        private int id;
        private String username;
        private String avatar;
        private Integer[] roleIds;

    }
}
